Add error handling for bad filters
Change 'pagetitle' to 'title' in templates