Fix bug in Converter
Merge pull request #35 from jad7/convBug

Fix bug in Convert
Fix converter issue related to primitives