Small leaderboard fix

Check if IdList != null before looping.