I find these calls after a multiline block easy to miss. I'd tend to break it out into a separate line:

```ruby
query_items.reject! { |item| item.empty? }
```

Actually, I think this filter is redundant. As `_entity_id` is always set `#empty?` will always be false.