Minor bug fix in indices extraction in first operand of rhs-2