BACKLOG-3908 : avoid to delete/rename/change supertype or mixins of  a nodetype if it is used