Fixed version-check logic for 1.4.2 upgrade.