Even though you can't apply the server behavior in a nested record, you should still be able to apply it below and copy and paste it into a nested scenario and it will work.
That is what I would suggest doing... just add some text below and repeat that and manually move the repeat region back inside of the other once the code is on the page.