Fixes the regression of cutting off too much of the commit message when pruning it.