Catch IndexError instead.