Improved the handling of pagination when changing criteria on the view all page.