Fix search +tag all

Recent change introduced bug where +tag would not be added to the search
Fix crash when a search contains trailing whitespace

Chomp of any trailing spaces when splitting the sentence into words