do not try to clear relationship when there is no inverse
Merge pull request #977 from sly7-7/many-to-none-fix

do not try to clear relationship when there is no inverse