Fix wrong except IndexError -> StopIteration

In `FilterList.__getitem__` where the `match` is checked a wrong exception is expected. Using an iterator and not a `list[idx]`, a `StopIteration` is what we can expect.