Prevent upgrade when it's not necessary
Merge pull request #886 from jrfnl/Fix-version-nr-confusion-revisited

Prevent upgrade when it's not necessary