Fixed 'Edit Appointments' action