added filterConds for keys