Check whether we are deleting compatible entity