Fix clearing of filter text.