Wrap parentheses when there are whitespaces in filter value