Change iteration when switchPath evaluation changes