Fix bug in order of adding to membership.