If you are refreshing curves and have selected All Curves as shown below, this may not update the colors correctly if there exists several curves of the same measurement.