Fixed bad redirections after actions.