the closeversion() implementation now correctly detects cases where the only data left in a node is a single "nonexistent" header, and deletes the node before committing.
the closeversion() implementation now correctly detects cases where the only data left in a node is a single "nonexistent" header, and deletes the node before committing.