Fixed bug in pagination: changing the filters.