Fixed EZP-20698 - When including a legacy template in a twig template, fetch functions don't work