DB/Misc: Fix startup errors