Fix tracking of collected value across pathfinding iterations