fixing possible recursive calls in twig variable includes #360