bugfix in \str\text::correct_types
Applied \str\text::correct_types to \db\query