Fix magic filter.