Fix a big indexing bug in Torque Constr.