Catch IndexError explicitly

bare excepts are bad
Merge pull request #51 from mattrobenolt/patch-1

Catch IndexError explicitly