Small fix so last mod date always saved as date value