Fixed an issue that prevents the ranger option from working when there is only one Q variable.
Adjusted logical checks for installation of ML packages.