[Backport releases/v4.30.0] fix: wrapInstance should not reduce non-constructor instances
#13334
+17
−3