Cleanup Document.find_fragment_node.