Fixing an wrong converter behavior.

In conversation on #656, @lucascs asked me to start this PR with a test that doesn't passes for the problem related #656.
We have support for Sets. So and if we extract this if to a method that checks if is a `Set` or `List`?