fixes #3185 Deleting a relationship does not remove from the cache