Fix the user scope corruption check.
fix formatting error
Merge pull request #7682 from adobe/dangoor/7603-user-scope-check

Fix the user scope corruption check.