[lxml] Difference in behaviour: bug or bad usage?