When a ticket in CWM is closed, all the schedule entries associated with it are marked as done. At present, TimeZest does not consider this done status when looking for free time to schedule appointments, but an option could be created on appointment types, like the existing "Schedule over tentative appointments" which would do this.