Handles unselect of types still referenced