Fixes an issue with the selecting first contact in search filter when up and down keys are pressed.