Refactor Domains delete code. https://redmine.stoutner.com/issues/316