Fix silly logic mistake.