tweaking filtering to keep table headers visible