Fixed an issue where in rare cases some CSVs were not correctly imported