Ensure reported elapsed_time is nonnegative.