fixed bug due to misindexing list items
Merge pull request #9 from realmarcin/master

fixed bug due to misindexing list items