Added test on version comparaison to exclude variant version (eg. X.Y.Z-variant) from automatic selection