fix "and" matching for chunks

I added the possibility to negate the attribute as well.