restored clean_mfilter in case it is necessary to perform operations on filters