Fix comparaison test on lower and higher conditions when version is set
to a string value