Fixes for supporting invalid semver versions and out of order publishes. Fixes #9.