Avoid loop in logical long line fix