Added a workaround for crashing upon publishing a story.