implement filter, careful to stage evaluation functions according to mixed staged records with dynamic fields