fix: the idx of a pair
inside or
inside pair
is not calculated correctly
#5531
Loading
pair
inside or
inside pair
is not calculated correctly
#5531