Bug fix where first snake is not picked up because of bad iteration logic