Updated indexify routine in cumulativeLineChart to fix situation where the index value can be undefined.