Hello,
I don't have an answer, but if you know a bit of javascript I would recommend add a console.log state in all actions like.
If you don't know javascript this is what you do.
Add a script action in your event sheet and write:
console.log("inside yada yada");
then you can open your browser dev tools and see in which cases the statements gets printed, then it is quite easy to find where the problem is.
You can print varable as well like this:
console.log("hello from javascript", localVars.myVariable);
Hope you find the problem. Also the Construct build in debugger is very good as well to give you an overview of variable values.