Fixing broken index set up.