Before 5am condition

Added a condition, stating that if the return hour was before 5am
then we shouldn't count the last day.