Fixed another A* bug