[FIX] gamification: avoid traceback in goal computation if target == 0 (even if does...