fix use of incorrect index when reading previous gauge calibration record