Ensure we don't send nil filter attributes

If there are no available filter attributes, we may accidentally send
nil as the filter. This fixes that.
Merge pull request #136 from alphagov/ensure-no-nil-filter

Ensure we don't send nil filter attributes