Tweak twig_constant()