Steps to Reproduce:
When running a search at Special:MediaSearch that returns a small number of hits, I'm able to see duplicate result items for some searches. Instead of seeing 2 items, I see 4 (each item appears twice). This only happens when JS is enabled, so the duplication does not appear to be happening server-side.
These results are the expected ones for the given query, but they each appear twice on the page.
Each result should only appear once.