Fixed #21497 -- Forced conversion to bytes for very long index names