Update termFilter.py