I think these would be cleaner written as
```ruby
query_conditions[:feed_id] = params[:feed] if params[:feed]
query_conditions[:screen_id] = params[:screen] if params[:screen]
unless query_conditions.empty?
...
```