setSearchQuery only incremented searchRequestId without flipping searchLoading, so the UI could not distinguish "searching" from "no results". Now loading flips true on non-empty query and clears (results + loading) on empty query. setSearchResults keeps the existing id-match logic to flip loading false on arrival.