Remove trailing spaces from search text. Close #15