Fixed bug in trigger evaluation of not operator