Fixed it - need to catch the TypeError from getting an offset with too many `-`