Fix redirect after editing a post.