Avoiding duplication in a repeat group

Hi @firony and welcome to the community!

This post by Kal should help you with your problem: