Fix #1365 : Collection rename redirect to a wrong URL
Merge pull request #535 from romainneutron/fix-1366

[3.8] Fix #1365 : Collection rename redirect to a wrong URL