Return correct value from in_challenge method

Issue 3927: Return correct value from in_challenge method