Why can't I set a button visability based on a branch and boolean?

says not valid. How would I make it valid?