[That's mathematically the same outcome so it's fine. Just what I did is not. Doing it your way you've got to be careful when determining if the barracks triggers or not.
Yup, but this to me is player management responsibility. It is your game and you have to pay attention