fixed bug in caregiverExistsHandling where it was not using the index
arguments for first,last name and was always using indices for caregiver
(i.e. first caregiver)