added missing 'not'
fixes #1496
fixes #1690
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel