Add period handling for totally closed periods.