Page size and margins have nothing to do with it.
I don't get a blank page in PDF problem or something like that.
It's a different type of problem.
Table fits perfectly on a page.
The problem is group section inside of that table is split
between pages.
see the attachment.