Pagination working with filters.