Fixed bug with search having only one char.