Made it so dead ends are handled correctly about 50% of the time