[DEV-2153] Correct query in Leaderboard view.
[DEV-2153] Rework user get_leaderboard_position method.