Some Bugfixes in the split Appointments method 
and at the call of getAppointments()