Patching duplicate list item bug

Fixes #29