The general rule is that when the game tells you "For each [thing that meets conditions], do [some action]", you first note which things meet the conditions, and then do the action on each of those things
(in an order of your choosing). That is, the actions don't change which things met the conditions.
(Discussion elsewhere) Tags: Conditions, Rouse the Spirits (Dahan Event)