Change initial end index of sub array to equal the initial start index, so single entries count as a possible sub array.