After too much experimenting, I have been able to figure it out. Basically, the problem was being caused by conditioning ODK to use a string variable in the repeat group, instead of an integer.
After too much experimenting, I have been able to figure it out. Basically, the problem was being caused by conditioning ODK to use a string variable in the repeat group, instead of an integer.