fixed filtering for crosstabs