Steps to recreate-
This will happen among any existing Collections, but to make the point:
1. Create two collections called, say, 'AAA' and 'BBB'
2. Click on the collection BBB to select it
3. With BBB selected/highlighted, right-click on AAA and choose Rename Collection
When the label enters edit mode the text BBB is inserted in place of AAA.
In other words, whenever you right-click on an un-selected Collection name to rename it, the text of the previously-selected Collection name is inserted.
...Bill