Fix issue with appending an empty document fragment.
Merge pull request #170 from arv/unwrap-doc-frag

Fix issue with appending an empty document fragment.