Fixed a bug where the vmstate is not set to Unknown when VMs are removed.