Fix delta to wrap dates