When flagging records as deleted, process 1000 at a time.