Test and fix filter().