I'd suggest posting this to the bugs section, this looks like it could be an actual bug. I see no reason why the way you wanted to do it wouldn't work.
I messed around with it. Seems I can get it to respond to the click when the variable is equal to 0, but not otherwise.
Edit: I tried it with a boolean, and while it works with toggling the boolean, the problem seems to be precent when setting the boolean manually (makes sense since all the boolean is is a variable with only 0 and 1).
I would want to check ramones capx to see what he did, but it's not available it seems.