DB: Fix a db startup error