Fixed problem with addPatient