Fix bad position of match.

Move the pattern match into the vnode, to prevent errors in the read
repair process.