Hack to deal with weird string conversion issues.