Fixed list_vms so it works recursively.