Fix handler filter

Would get created fine the first time but then have a nil error on
second run.
Fix filter attributes

The attributes weren't ever being set
Merge pull request #229 from johnf/fix_filter_attributes

Fix filter attributes