Hi @alQemay,
You can use LAC-A functions to handle the duplicates. Take a look at use case #2 in this article.