Fixed an issue with the Razor view template.