whitelist.py: Replace filters with list comprehensions.