Fix basic group fetching logic.