Fix bad calculation for first_measured_time