Avoid using delete with no object properties | CAST Appmarq