Correct a logic fail.