Fix printing of Q matrices in factorizations