Use wrapped object to prevent errors
Merge pull request #2882 from dimagi/fix-location-500

Fix error on export locations from some domains