Fix editing of published posts