Makes batch deletes work on Poltergeist.