Update CsvReader.php

Fixing the infinite loop.