Fixed a bug related to removing members & occupants