List Index only compares identical values, not similar ones. Ie. they have to exist in the same location in memory, it’s not enough for them to have the same value. You can use Member Index in the Set panel if you want to find items by value.
This is a very common mistake, List Index should have been called something scary like ‘Memory-wise lookup’ or something…