Fix for VM deletion.