Fixed nested loop indices.

parent bfa64a04
Pipeline #4668 passed with stage
in 4 minutes and 17 seconds