Fixed NestedFilter query part presence detection. Cover filter part generation with test.