Or is the army reduction in the dungeon due to lag?
I completed the mission. First, I destroyed the Demons, then the Stronghold, and finally attacked the Necromancer castle, which is located near Miranda's castle. I gathered my troops and attacked Miranda. There were no difficulties in the mission.