Nevermind. Answered my own question! I added
/select = noreplace
to the text item.
That is exactly how the code you posted should behave anyway. It certainly does for me. There will be no repeats.
'noreplace' is the default, thus there will be no difference to what you had before.