Fixes a bug affecting the truncation of excerpts