Fix AppointmentController Bug