Same condition different iteration wrong path chosen

Im` using for each loop.
I have a condition to check if element exists…if true follow certain steps. If flase follow other set of steps.
The same condition is true for iteration 1 and iteration 4 but the path chosen is different…please help

May be in iteration 4 it would be false kindly run in debug mode to check with the value and flow of execution
Cheers @98d5b817dcd19244c50b

In iteration 4 it is true , not false. same screen appears in 4 as 1