Writing only unique nodes based on values not working

Thanks Daniel. That’s done the trick.