Solves problems with DB::qstr()