Fix typo in version compare