Apache FOP Code fix

Code fix
by
JM
:

Bugfix: Nested tables with headers and footers were not handled correctly and could
overlap with the region-after.