Restoration of permutation (#2367) - Basecamp