Fix delete of saved searches with spaces

Without this patch, saved searches break when there is a space in the search name.
Merge pull request #492 from opinkerfi/fix-saved-search-with-spaces

Fix delete of saved searches with spaces