Fixed the issue when there is only a single line in the CSV file. Fixes #205