Fix incorrect usage of Twig_Filter_function as function callback.