Make sure Database.setActive(...) is set correctly during startup