FIX: Remove additional search code related to the up/down navigation

Removed additional search code that was related to the up/down navigation and their related tests.
https://meta.discourse.org/t/magic-search-code-for-keyboard-shortcuts/19563
Merge pull request #2747 from cpradio/remove-additional-search-code

FIX: Remove additional search code related to the up/down navigation