Fix DOMException on save after importing DeferredEdits from prototype.
Fix DOMException on save after importing DeferredEdits from prototype.

vorth/vzome-core,david-hall/vzome-core,david-hall/vzome-core,vorth/vzome-core