Simplified group memership check more.