Fix bug in challenge results api.

Fix bug in challenge results api.