Potential Fix for Search

If query.values()[0] returns a singular string ' '.join will add a space between every character which returns the wrong results.