Fixed issue where custom date being reset.