fix the feature "repair orphan scopes"

 - from duplicate orphans scopes
 - from declare Default Scope as an orphan, it's just a Root Scope