Don't fail with elements with no children.

Small bug fix if you're interested. Elements with no data can have no children (i.e. `<random_status_thing/>`) in which case they should be ignored.