Fixed error reporting (list indices must be integers)
Merge pull request #26 from mikebrittain/master

Possible fix for issue 25