Fix from upstream package: support for (empty) TAG_Lists with TAG_End objects