Fixed issue where out-of-range date subfolders are not removed