[FIX] membership: some fixes to try to make the tests pass.