Fixes the pressing enter key behavior on selected chat room contact in the
search results to open the chat room window.