Added min string length restriction for comparisons