Glad it worked.
Sure, I will explain what I did.
As you may know, the selection tag values are in an array. So we use for Loop to check if the number of selected indexes is more that 1. If it is, then we use the Shift() method to remove the first item of the index. This method unselects the last item the user selected. Once that is done, we select the last item they selected.
We use a setTimeOut() function set to 1 millisecond to deselect and select only the tag the user chose. This is fast enough you can’t see them all deselect.