Fixed RepeatState.One behavior, closes #10