MDL-27653 fix incorrect int | object detection