Fix bug in challenge results api.
Merge pull request #349 from Ghost141/challenge_results_api_fix

Fix bug in challenge results api.