Fix filter attributes

The attributes were never being set