Hi, I've just added another test to check that: <And><Category>foo</Category><Not><Category>foo</Category></Not></And> doesn't match anything. Cheers, Mark.