thephpleague/csv — pull request #29 by eymengunay (2014-03-22 19:46:33+00:00)
Title: Iterator query execution order fix

Having `IteratorInterval` at the end of the execution causes offset problems when used with an `IteratorFilter`.

For example:
```
$reader->setOffset(200);
$reader->addFilter('someFilterFunction');
foreach ($reader->query() as $index => $row) {
// $index should be 200 but it returns a value around 600
}
```

Moving `IteratorQuery` in the beginning of execution seems to fix this problem.