Check for the index before accessing it.
Bumped version to 2.1.4.rc1
Merge branch 'feature/undefined-index-item' into develop. Fixes #17