Fixing an issue with Twig tags rendering