Fixed nested-params parsing issue (fixes #22)