fix some edge cases based on re-reading semver.org