Fixes bug 930086 - Not operator is accepted everywhere. r=peterbe