fix scopes, invitation_not_accepted was selecting registered users
add active scope, fixes #299