Fixed #7262: Map download CSV does not work when viewing by patient location