Did you install Fix Pack for 8.5.2 ?
If repeat control over 100 records, 100-109 rows will generate error id.
It is fixed by 8.5.2 Fix Pack
SPR# MKEE89GLQU - Fixed a problem in XPages with repeating controls where a bad clientid was being generated for rows 100-109.