Every now and then you run into this weird situation in your code, where something that was supposed to zig is now zagging and it makes no sense whatsoever.
For me this ends up happening in my unit tests since i’m not running everything in the browser everytime and since my tests usually run more scenarios then a regular browser run, that’s where the weird stuff happens.
So your obvious way out is to add a few var_dumps into the code and try to understand what is happening, if you are doing that: STOP!