Fix #1155 Export CSV truncated
Merge pull request #338 from nlegoff/fix_report

[3.7] Fix #1155 Export CSV truncated