Fixed accidental logic reversal

I had switched from using “not” to “?” to “optimize” the source code,
which was opposite of what it should have been.