Well, a couple things I found.
your original graph is almost identical to the one that works.
with some key differences.
First, we have 5 NEW functions (probably needed for some workaround)
And then we have, the connections you made on the “IsValid” block.
Looks like yours is not properly linked
That would be it