Small fix to allow for document XML node types