Correct change in length check