Fixed issue with with vm's that have more then 50% ram.