removed ending 'd' from tag names DateTimeOriginald and DateTimed, seems it is a typo error
Some EXIF contains zero date like 0000:00:00... Script was crashing in this case, FIX : detect zero date and fallback to next date detection method for all EXIF dates check.