Fixed initialisation order in TeamB DB tool.