recent tab search fix for enter key