it might also not be quite right as the same projs can have been applied to both noise_cov and data hence reducing the rank too much (twice).