Fix problem with inconsistent measurements data.