So it's probably best to try and delay using devtools to repro this.
but i did a search for images, and the images hadn't loaded yet. it took a couple seconds.
But in that time, i had pressed the GIF button... but then the images loaded.
And so it didn't actually filter on GIF's because the current search results were still being loaded.
I would expect the current search to be cancelled when i press that button and have it do a new search.