fixed semver.Comparator.set
Merge pull request #2254 from Bartvds/def/semver2

fixed semver.Comparator.set