DB/Misc: Fix few startup errors