bugfix for filters based on a pattern with *f or *d