Update filter

To reflect new understanding of isalpha() function
Merge pull request #2 from catherynl/patch-1

Update filter.py