templates: another bugfix for 3.6-style non-blocks