Fix pagination, not all rows were on a page

Doctrine pagination instead of just getResult