you need to create a loop, that checks and link's into other loops. Try this, should work but unsure if it will select the correct position:
https://fxdreema.com/shared/difMA1pKc