issue #18406: models without a canDelete method are not deletable