support for batch deletes (bb #870)