Fixes a slightly different form of the index error.
Fixes a slightly different form of the index error.

ShengjieLuo/pachyderm,sambooo/pachyderm,ShengjieLuo/pachyderm,ShengjieLuo/pachyderm,sambooo/pachyderm,sambooo/pachyderm