Fixes bug 930086 - Not operator is accepted everywhere. r=peterbe
Merge pull request #1630 from AdrianGaudebert/930086-not-operator

Fixes bug 930086 - Not operator is accepted everywhere.