Split search strings more intelligently.