Minor fix
Fix for Issue #3, suppress an index error, thanks to @todashuta