Fix to avoid a crash on bounds-check fail
Merge pull request #148 from Jahaja/fix

Fix to avoid a crash on bounds-check fail