I assume you select which science pack to add based on it's index. However Military science packs does not precede Chemical science packs, in any meaningful way.
It would seem more intuitive to me if crafting the tank required Military instead of Chemical, or it required both.