Fixing indexing bug.