The index-repeat function does not work when trying to return the first record from the repeat question to display in the record's inbox folder instance name.
This issue is not reproducible in ArcGIS Survey123. If the issue occurs, contact Esri Support Services, as additional information is required for further investigation.