Fix LOG_IF severity check.