Challenges API query fix.