make sure a vm and its data are properly removed from Array when $destroy is called directly