Make text filter respect visibility filter