JCR-3115: Versioning fixup leaves persistence in a state where the node can't be made versionable again