Fixed content ctx to only push when there are nested content trees