Restoration of permutation#2367