Condition is not working on Appointment Slots widget