Fixed _get_earliest_time_datum function.