Problem with select_one multi repeat

Hi forks

I have a problem in calculating repeat with select_one option. The scenario of my survey form is that one repeat group 'household_response_repeat' have three repeat groups within it. Only one repeat group 'house' is want to repeat set targeted household and others repeat groups require no set target.

The problem scenario is that when repeat group 'house' starts it cannot exit before the completion of set target.I want to repeat it only once then it calculate with set target, if target is completed then this 'house' repeat not starts with constraint message.

The shareable google drive link is

Best

Asad Ali