Added debug from jmchambers to avoid infinite loop.