Fix null secure value in method.html.twig