Trying to fix illegal dates