Fix the user scope corruption check.

One line fix. I tested this and it appears to work.

cc @redmunds  (who reviewed prefmanager code and also spotted this particular issue in the first place)