Fix CSV conversion bug when first row has empty cells