Fixing edit and add redirections