LegendEntry does not contain delete element when serialised
Created originally on Bitbucket by CharlieC
The following class should include a delete tag when serialised
#!python
legendEntry = LegendEntry(0, delete=True)
#!xml
<legendEntry>
<idx val="0" />
<delete val="1" />
</legendEntry>
But the delete tag is missing.