Finalized query for the leaderboard pages.