Batch up deletions for the database