Fix bug where no jets were added.
Fix bug where only the first event was examined, ignore non-used branches which weren't previously initialized