Fixed version comparison