Inline the correct_time_range method