Array index typo
Merge pull request #2 from ngreduce/patch-1

Array index typo