Fixes #24648 Header not printed in balance sheet