public bool Filter(object modelObject) { bool textMatch = textMatchFilter.Filter(modelObject); if (isMod && isFilterCol && textMatch) { return(sameMods.Contains(modelObject)); } return(textMatch); }