fix crasher when resetting filters
fix syntax (`of`, not `in`); improve naming
Merge pull request #4 from stilist/fix_filtering

Fix filtering