Correct recognized blocks for twig