Fix pattern issue when using only one NOT operator
Merge pull request #347 from emmanuel-keller/1.5

Fix pattern issue when using only one NOT operator