Added date check on saving.