Fix comparison of VersionInfo objects