Revert "Fixed bug with boolNot"

This reverts commit 7a3576dd9cf5bc2e188bf4add56ba940582ab336.