Fix compile-time loop for recursive reference within a group with an indefinite 
repeat.