Fix bug DNN-4863: correct the wrong data in folder permission table before add the unique index.