We have prepared a patch that fixes this bug:
Here is a document generated from the first template after fixing:
This patch also fixes the following bug:
Report with repeated columns and spanned cells in heading
Request for developers: please check the patch and update relatorio if everything is OK.
Merry Christmas and Happy New Year!
