Cannot create appointments (regression from bug #702922)