getAllPatients returns empty list in absence of patients