That’s weird. It shouldn’t happen like that.
But try putting the node at the same height.
The visual placement of the nodes has an influence on the execution order.
Although in your case it shouldn’t happen because they are connected. But it doesn’t hurt to try. Maybe it’s a bug.