Also use sid in excluded_members check, fixes group_spec regression