Fix removal of old lines