When deleting a resource in a group remove all referencing resources