search_no_noun_head: More code to replace ad-hoc headword line with proper template