Corrected typo in setting indexes