Fix isolation level when exporting data. Thanks to Ludovic Penet for the report.