Added fixes for two different :not() bugs. One with p:not(p.foo) failing and another...