Fixes an issue where creating a summary for a post with a very short string would cause a crash.