fix Issue 11042 - Inconsistent "static condition" behaviors

Divide `SCOPEcondition` and `SCOPEconstraint` properly.
Merge pull request #2558 from 9rnsr/fix11042

Issue 11042 - Inconsistent "static condition" behaviors