fixed search query bug to pick up single word strings