The redirect after renaming redirects to a page that does not exist

If a user rename a dataset, he/ she should be redirected to the dataset page. However, one finds him-/ herself on a page that does not exist.