Added support for removing triples with URIs as objects