Issue #579: The CSV export includes invalid rows for inaccessible patients
Fixed.