In Freedom from Flesh, the heroes have to rescue villagers.
My question is about the timing of "rescue"
The rules for the quest state "Each time a hero that is not tainted ends his turn adjacent to a prisoner, he may rescue 1 prisoner"
and "If a hero carrying a prisoner ends his turn on the Entrance or the Exit, he rescues that prisoner"
Since there are quest effects that are dependent on the number of prisoners rescued, when are the prisoners considered actually rescued?