Fixed clean paragraph ending utility function