fix(plans): attempted fix for: Cast to number failed for value "NaN" at
path "purchased.plan.consecutive.count", see https://github.com/HabitRPG/habitrpg/issues/4317