Improve date modified handling.