If there is a long running query (e.g. the spinner is visible) and you type into the search bar, the results won't be filtered by the search text.
Easiest way to reproduce: clear search text/change project (to do a wide/slow search) then search for a specific file. If done typing before the query, you'll see stale results.