Handle negative length and eliminate a condition that is always true.