Visited list going None