Fixed version checks.