Redirect paths not correctly altered on migration #799