Logic reversal bug.