Fixed a bug in MoveToDateFolder when the depth includes the day.