fixes bug normalizing pages when query count return a hash (group queries)