Problem with preview on forms after upgrade

1. What is the issue? Please be detailed.
We recently upgraded from ODK 1.46 to V2023.5 . The migration was successful. Now the issue is with some of the projects forms with `Error occured during the loading of this form. We do not recommend you use this form for data entry until this is resolved.

Please contact support@getodk.org with the link to this page and the error message below:

Cannot read properties of undefined (reading 'length')` In one of the projects after reviewing the form and removing randomization on ranking field the form preview worked on web. Now we are facing the same issue in multiple projects

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?
We resolved it by updating one of the projects forms which we had to manually go over each column and remove to see if works. Now we have the issue in multiple of our projects and forms

4. Upload any forms or screenshots you can share publicly below.

If you're able to share one of the forms that resulted in this error, that would be the most helpful for troubleshooting. If it's confidential, you can send me a private message with it.

If you can't do that, maybe you can try to create a test form with just the part you had to remove to get it to work?

Is this always the error that you get?