If there were pictures without a valid EXIF DateTime then creating Date Ranges would produce script errors.