Can this fail with an `IndexError` and should this be caught?