Fixed an incorrect call to for removal of the undeployed VMs in OMS (OMS-535)