gamification: when changing the domain on a goal definition give a simple check to avoid getting a traceback when the challenge is reloaded