Fix a bug when updating a blog post