Fix weird adding day bug.