AnimationTree: conditional transition

Godot Version

4.2.1

Question

I got a game in Godot 3.5 and I’m trying to port in in Godot 4.2. I’m in troubles with lot of thinks changes from the two engine, but this one seem to be with no solution.
In the image you can see a state machine. The two transition in white color have a less priority (0) respect all the other (at 1) so they are preferred. When I change a condition by code, the two white arrows became green and, because of they have a less priority, the animation take that ways… Well: all this works on Godot 3.5, but not in Godot 4.2. I noticed also that, if I’m playing a cycling animation, is impossible to exit from it with “at end” option of “switch mode”.
I’m not able to understand if these are bugs or if, due to some changes, this problem must be solved in another way…
Thanks.