SERVER-10026 SERVER-11373 fix build issues/bad delete test