With ImageAnalysisDuringFindInPage enabled on macOS, the second search for matches on the page that occurs after the ImageAnalysisQueue empties advances to the next match on the page regardless of whether the initial search found matches or not. Ideally this should only happen if the initial search found zero matches. This happens with both cmd+f and cmd+g.
<rdar://problem/99191039>