Silence clang warning(with -Werror this breaks compile)

Also happens to fix one horrid mutation of code. Logically invert the integer, then compare it to 0, really?