Question on dynamically displaying information based on boolean

In a SAIL form, I have a Boolean checkbox that when checked, should display 2 fields and when unchecked should display 2 different fields, but when checked only the first of the 2 fields is shown. I've attached the code for my example. There's a working and a non-working version. The only difference is in the one, I use if(local!bool, {...},{...}), and in the other I use if(isnull(local!bool),{...},{...}). Why would only one of my 2 fields display in the non-working version?

Checkbox problem.txt

OriginalPostID-188454

OriginalPostID-188454

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data