Check for group membership more explicitly.