Sort out bad line-breakages