Fixed sub date loop. Mystical "i" error.