WIP: Filter the query for list.

#124 
We now (#127) have a method to get the total count. That will allow us to know the number of pages in advance as well as avoiding the `$this->getRange() + 1` trick.