fix bool -> Boolean for consistency in other parts of twig's code