Hi again,
Can you please wrap your code in back ticks so that it is easier to read?
I am still not 100% on what you are trying to achieve because that code is looping through a sub field.
Sorry mate, sometimes it can be hard to get the full idea via a forum. 🙁