fix for string/integer conversion in 1.93 and 2.0
Merge pull request #1 from jhbadger/master

Looks good. Thanks Jonathan!