Fix some vnode patching bugs.