Fix a bad index