Updated Firebase leaderboard example to use queries