Undo undesired line removal