I’ve just raised a similar question but about logic not being followed but was related to the survey end (see post here).
I found by changing the survey to run on 2024.1.0 (rather than automatic selected 2024.2.0) my problems were resolved.
On the Overview tab, just above where your URL to share with participants is, you should see a drop down box and be able to change versions.
I don’t know why or how it works, but it solved my problems (my forum post was asking why it works), hope it helps yours.