Tweaks Z.BooleanAttr to ensure that we always have a boolean value.