* Comment out decrement of s.repeats in scheduler to fix negative repeat count issue * Fix repeat count handling in scheduler - Reset `repeats` to -1 for values less than -1 - Decrement `repeats` by 1 if it's greater than 0