Working filter-to-map-and-filter transformation.