Fix to custom post type template locator.