I buìld a three layer control with parent relationship and Multiselect option set true.

I set one one value on the first level e then anther one in the second level

After i set anather value in the fisrt level and the second level is updated corretly with other choice options.
![]()
If I delete the first choice of the first level
![]()
…the selected elementi in the second level(child of deleted element) is not removed.
This leads to an inconsistent situation.
Can you help me?