Fix bug in challenge results api