Fixed error in month length selection.