Fixed error in tag migration.