Fixed typo in list template causing an error

Broken since 1de10272a41549fee2e75037f6d7cd6d9752e3ca
Thanks to @pcompassion for reporting it before I noticed
Fixes #10.