Fixed a bug with rdf_import