Fix crash when clear line from/to equal