[Bug 915686] Handle nots properly.
Live demo editor.