Fixed bug of indexed reps with index:0