added non-empty filter - a problem for some lexers