Remove recursion on form_validation twig function