I admit I have not understood the implications of the difference between ChangeChordRestLen() and ChangeChordRestDuration().

In any case, I didn't change that specific line, but I kept it as it was (which does not mean it is necessarily correct, but...)