Fix #1359 Bug in the Search plugin

Was error with multiple spaces in a search string