fix typo in v2 convert

resulted in NameError on orig_version because arg name is from_version
Merge pull request #5835 from minrk/v2-typo

fix typo in v2 convert