Bugfixes in db functions
Change in str\text::convert_types