Delete relation in `docrel` when docid attr value is deleted (closes #3533)
Merge pull request #636 from eguaj/3.0-A3533

Delete relation in `docrel` when docid attr value is deleted (closes #3533)