Fix bug in csv parser.