Fixed bug with visibility flag on ChallengeFlag