corrected variance in get_measure_from_record