Apache FOP Code fix

Code fix
by
JM
:

Bugfix: Bookmarks in PDF will be generated even if some bookmarks cannot be
resolved.