Make sure that if no ownerDocument is available that we fall back to the node itself...