Only set the measurement value if the termId is the same

BMS-127

Reviewer: Daniel Jao