Fixing typo bugs in handling of list parameters.  Fixes #27.