Fixed potential null dereference bug in conversion methods.
Fixed potential null dereference bug in conversion methods.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch