Issue #1704730 by ElusiveMind, Adam Wood, ervit: Bulk processing fails trying to process deleted nodes