Fix for fields not getting injected in sub-templates (arrays)