Fix/2pdfm bug

Merged Dennis Gläser requested to merge fix/2pdfm-bug into master

Merge request reports