Fix drunken boolean logic

Noticed by clang.