Compare versions with version objects