Fix/filter pagination

This PR fixes the Filter-Pagination Issue for Contao3 (https://github.com/MetaModels/core/pull/256).