Fixed issue where post types other than Text had 'None' as page title.