Fix appointment edit.