cleaned up some code duplication in filters spec
Fixed a missing comma