Fix enrich_date to handle dates < 1900 (#7562)