Fixed issue with equal string length.