Bugfix: delete VM from more possible states