DB/Misc: Fix startup errors after 8ff8f30 and 33be04d