Fix timeslot detection