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.