getNextTimeslot fix