Adding checks for early or late rides