Should this be an `IndexError`?