Time condition fix when rules are disabled (did not recalculate next timeout correctly).