Trim whitespace when saving new filters