But you are not using anything that is in those repeater parent fields. After you get the value and see if it contains anything you are simply ignoring anything that it might contain.
It would be really helpful to know what types of fields the sub fields are and what data they contain.
https://www.advancedcustomfields.com/resources/repeater/