Merge pull request #366 from messju/nvm_version_fix

fixed nvm_version result when multiple versions match the given pattern