Fixed validation of appointment against new availabilities structure. Fixed appointment-related views affected by availabilities.