Bugfix logical not