Fix problem with _bulk delete.
Merge pull request #540 from nurikabe/master

Fix problem with _bulk delete.