fixed withStatuses to not include undefined if includeUndefined is set to false
fixed withStatuses to not include undefined if includeUndefined is set to false

PDCbc/patientapi,rrusk/scoop-patientapi,projecttacoma/patientapi,rrusk/scoop-patientapi,scoophealth/patientapi,rrusk/scoop-patientapi,rrusk/scoop-patientapi