Fix panic trying to go to next of 0 matches (#13233)

Release Notes:

- Fixed a panic when going to next search result when there are none
5ff7c893beConrad Irwin committed on 6/18/2024, 8:46:33 PM· committed by GitHubparent99e4b3a
1 file changedLine totals unavailable