Correcting NonnegativeFactorization when smaller rank approximations are requested.