Added a check for expired timeslots.