Fix map-reduce code path for compute leaderboard.
Merge pull request #436 from karma-exchange-org/compute-leaderboard-map-reduce

Fix map-reduce code path for compute leaderboard.