Apache FOP Layout fix (bug 46486)

Layout fix
by
VH
(fixes bug 46486)

:

Bugfix: having a special page-master for the last page caused loss of content when normal
blocks were mixed with blocks spanning all columns.