[IR] Fixed buggy condition in unboxing analysis.