Avoids a bug when the index in the lookup is out of range.
Release 0.3.1