Redirect unpublished project pages to the home page.
Fix class name typo.