Small fix in twig extension