prevent critical hit when unticking a task

Fixes https://github.com/HabitRPG/habitrpg/issues/2356

Currently, when you untick a todo or daily, there's a chance of a critical hit. This prevents that.