Removed a duplicated setting and improved the handling of a new reduced credit period.