Update filter.py

To reflect new understanding of isalpha() function