resolved issue with Set/Union insert functions not working as expected.