Fortune: Factorize filtering and use lazy map/filter on Python 2.