Fixing RQ factorization.