I just found out that this was much easier than I thought. In this topic:
Teodor explains:
" If the second repeat is nested into the repeating element of the first one the it needs to be:
dmx-bind:repeat="OrderDetails"
"
So you just remove the whole first part of the main table and just add your nested table name to the dmx-bind. Boom done!