[DBTables] Fix a bug that doesn't set the initialized flag.