Fixed bugs where articles with no headings crashes the view page