Obstacle Avoidance Bug

There is an issue in Obstacle Avoidance where, when you press the reset button, if you have already passed through some points, upon resetting it does not take the first point as the target again; in other words, it does not reset the list of passed points to 0.