Error checking for when end time is input as coming before start time