Fix server crash on drop of nonexistent shard