Fix removal of RDF literals.
Merge pull request #43 from adam-vessey/1.x

Fix removal of RDF literals.