Added duplicate permalink handling to posts & post types.