Finding maximum occurrence within a loop

Try with the XLSForm Offline converter (although I don't think that should make a difference).

I could only find one other post where a similar error was reported.

It seems like it happens when a group only has calculate values in it. Check if that is the case for your group ${Final_Notes}

Edit: There is another post about it