Fix error in get_active_open(_private)_challenges query
Revert and fix error in get_active_open(_private)_challenges_count query
Merge pull request #226 from Ghost141/challenges_api_fix

Fix error in get_active_open(_private)_challenges query