Update filter.rb

Back paddling the previous commit.