Add switch tracking, which tracks whether a node has switched targets in the last turn.