[BUGFIX beta] bound if/unless inside unbound if/unless (#9894)
Merge pull request #9916 from oneeman/bugfix-9894

[BUGFIX beta] bound if/unless inside unbound if/unless (#9894)