I am cascading Lookup list.

ActvityTypePST Lookup list has duplicate value. If i select craft item from Craft Lookup List then ActivityTypePST will display repeated value as shown in figure below.

To remove duplicate values from ActivityTypePST i have used Nintex javascript as shown in figure below.


when form loads then on that time ActivityTypePST lookup list will display unique values as shown in below screen.

But when i select craft items then cascading items will come in ActivityTypePST with repeated value.
In javascript i am trying to remove duplicate value on change function but it's not working.
Please help me to resolve this issue.I am trying since 2 days but no luck.

