Fixed some stale cache bugs in group memberships.