When you try to change the number of shirt of one player, if you repeat and more than one player have the same number, the script began to duplicate the players shown in the list:
https://www.awesomescreenshot.com/image/33437240?key=da4351bfc6477e82101fcd36f0540735