Update GetLeaderboardForStat.sql

Use latest submitted stat rather than largest valued stat