fixed bug where search filter when results had fewer pages than currently viewed page -> crash