Fix typo bug in ParseMaterialIndices.