Versioned now creates a new version if the version is 0

Previously writing an object to staging and then publishing it resulted in a version number mismatch between staging and live.