Fix filters use with will paginate when active filter return less pages than current, Mantis 20954