optional correction. More appropriate imo.
```ruby
filters << {:term => {:name => params['name'] }} if params['name']
```