Fix makeFromFilter method.