Bugfix: new db_schema causes error on multi tree sites after upgrade.