Now returning page IDs for queries