Fixed some bugs in dict to dict conversions
Merge pull request #285 from est77/py_dict2dict_fixes

Fixed some bugs in dict to dict conversions