Fix membership caches not updating in state reset scenarios.