Yes, but the crucial distinction is that the Northwest Ordinance was passed before the Constitution was adopted, thus before the 3/5th compromise and rise of the slave power. So it could not have been foreseen that banning slavery in the old northwest would result in any disproportionate loss of representation in Congress, because representation didn't work that way under the Confederation.