public function dontHaveBlogInDatabase(array $criteria, $removeTables = true, $removeUploads = true)
    {
        $criteria = $this->prepareBlogCriteria($criteria);

        $blogIds = $this->grabAllFromDatabase($this->grabBlogsTableName(), 'blog_id', $criteria);

        foreach (array_column($blogIds, 'blog_id') as $blogId) {
            if (empty($blogId)) {
                $this->debug('No blog found matching criteria ' . json_encode($criteria, JSON_PRETTY_PRINT));
                return;
            }

            if ($removeTables) {
                foreach ($this->grabBlogTableNames($blogId) as $tableName) {
                    $this->dontHaveTableInDatabase($tableName);
                }
            }

            if ($removeUploads && ($fs = $this->getWpFilesystemModule(false))) {
                $fs->deleteUploadedDir($fs->getBlogUploadsPath($blogId));
            }

            $this->dontHaveInDatabase($this->grabBlogsTableName(), $criteria);
        }
    }