Made custom validation invalid_end_time