Highlight and select the item matching search query

Changed from highlighting the last selected value to the item matching what the user has searched for (if any). Only changed single, unsure of how multi works.
Fixes #765 and #766