Fix VersionBuffer append bugs.