Correctly handle requests for deleted databases, as well as attempts to write to deleted tables and databases.