Fixed bug with boolNot