All I can tell you is that sometimes the calculation for population gets inaccurate, so it fixes itself with a server reset. The available population inside your storehouse is the accurate number, so you can always double check yourself when you fully train your army.