made purgeTailingDeletes work correctly.