Fix mismatched index paren