Problem downloading data (exporting) from a form

@ajrd, the issue has been resolved with this fix: