Make join on patient table LEFT JOIN

Put back the left join on the patient table for the patients in list query. Otherwise patients that haven't had XML files from a unit don't appear on the list.