Fix the redirect to deal with group edit page