Bug fix in automatic window selection. Select windows requires 9 input parameters, including min and max period.