FIX Web-UI search: trim whitespaces (beginning/end)