fix #233. Put back the code that limited the delete batch size
fix a compilation error