Fix versions check