Fixed boundary case with min_length in BaseKeyGenerator