Fix for scope validation when there are > 1 scopes.