Fix bug in tank type switcher adder