Date in range fix