Pagination is now respecting the filters that were previously applied. Fixes #564