fixed error that results form searching a blank line
Merge pull request #427 from Kae7in/fixsearch

fixed error that results form searching a blank line