This comparison is confusing; we should not compare on array to number comparison here.