Enhanced the deletion of posts using custom taxonomies