updated filters to consider missing values and nested nots.