Fix bug where it was impossible to remove member or pool if class above (pool for members and vip for pools) was removed before.