Originally reported on :mw:Talk:Quarry.
I was trying to organize the favorite queries by their url (newer queries have bigger numbers in the url). I noticed that when I unstar and then star several queries, they do not effectively get unstarred; multiple copies start to exist. Please check https://quarry.wmflabs.org/query/11613 and https://quarry.wmflabs.org/query/11685 .
Check his Quarry profile and you will see the query:11685 appearing around 6 times in the list of starred querries.