The early unification movements were also liberal - they rebelled against tyrannical monarchs. There are of course some bad experience from nationalism, but it was also much better than the system it displaced - Absolutism. The new nation-states had constitutions that protected human rights, there was some representation and the new common languages were established by promoting literacy. Not all bad, I say.