Updated findRecentAppointment method

Will not crash if all arrays are empty anymore. Will find closest
appointment even if current day is empty of appointments.