Consider the following scenario:
You are TH9 with maximum army capacity of 220 troops.
Right now you have only 200 ready troops in army camps and more 20 in the barracks queue.
You start searching for a base to attack. You keep searching and pressing next.
Your army count will still be 200 unless you press end battle, get back to your base and start searching again.
Why not to auto update the troops with every "next" click to get the new ready troops.
Same scenario applies with the heros if they are under healing process when you start searching.




