SVY-7553 do not delete if we have selected inherited elements