Fix for searching when press Enter