Bug overview description.
I stumbled upon a user who as favorited certain posts twice.
Using this search with a md5 filter returns the same file twice. If you look at the favs of the post the user is also listed twice there. This isn't the only occurence for this user, just the first one I found.
If you use the api to paginate the users favs it will be listed twice using this link
Also happens for (on the same user):
6bc9a816d8b2ad426514b87075fc6b82
4903d445946d5063e62f28fec8937800
What part(s) of the site page(s) are affected?
The search page as well as the posts page
What is the expected behavior?
The post should be returned once.
Can you reproduce the bug every time?
Yes (I don't actually know what to do to fav twice)
Updated