Fixes #332 Handling of lists in defaults

Creating pull request for #332 for @graffic.