Adjusted debug template to avoid Saxon issue 1812