Fix caching issue allowing members to be both in a group and pending at the same time