To provide some context, if the data source of a repeating group is set within a condition that references the repeating group itself, this can cause a circular reference. Specifically, when the condition is met, the data source of the repeating group will change, which then invalidates the condition. Since the condition is now false, the repeating group changes back to its original data source, but the condition is evaluated to be true again and changes the data source yet again. This behavior repeats over and over, resulting in an infinite loop.
To workaround this behavior, you should avoid referencing the repeating group itself in the condition and instead reference the original data source of the repeating group.
Please see this consideration noted in our manual.