Fix version check condition.