Fixed an issue with very short lines (Issuer #9)