Fixed pagination for multipage search queries