You should try running some print string in branches and events. Check if casting failed while executing note or value is false. As well you do the same thing in the branch in this image did forget to change any value or this the way you wanted to go with