Hi @Chloe5,
You need to use level-aware calculations to handle the duplicates. Take a look at use case #2 in this article.