Fix bug that kills date values in existing entries