Week repeater gets generated wrong

when creating a schedule using the UI with a weekly repeater the code generated includes two “+” instead of one.
image

which results in not being able to progress the date when clicking the checkbox.