Pipeline view stages showing incorrectly

Summary

When viewing the pipelines page and looking at the currently running pipeline. I have two stages, a test stage and a deploy stage. The first stage had completed but the UI was showing it still in progress.

Steps to reproduce

Run pipelines with 2 stages and view from the pipelines overview page.

What is the expected correct behavior?

Should see the first stage as ticked and finished and the second stage as in progress.

Relevant logs and/or screenshots

Screenshot_2017-11-23_12.37.48