diff --git a/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx b/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx index bca0087f2..7a8f97837 100755 --- a/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx +++ b/ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx @@ -827,7 +827,7 @@ export const SceneSearchResults: React.FC = ({ useEffect(() => { // #3198 - if the selected result is no longer in the list, reset it - if (selectedResult && scenes?.length <= selectedResult) { + if (!selectedResult || scenes?.length <= selectedResult) { if (!scenes) { setSelectedResult(undefined); } else if (scenes.length > 0 && scenes[0].resolved) {