fixed version always being latest
Merge pull request #14 from bwiklund/master

Fix version selection bug