Fixed TypeConverter

This PR should fix the TypeConverter issue reported as http://jira.codehaus.org/browse/MILYN-655.