modified clear def_filter behaviour