Fixed version check.