Set the active value back as the twig variable has some issue with scope