Fix QueryPagerTest