[3.7] Fix #1155 Export CSV truncated