Make message pagenav (prev/next) work with sorted multi-folder search results