Corrected length comparisons