Fix transposed CSV import