EPEDEV-239 - Prevent deletion of resources that are included in other resources