Fix prefixed database with unicode session