Added workaround for bug in virtuoso (cascades on delete).

see https://github.com/openlink/virtuoso-opensource/issues/56