add migration script to add toBeDeleted fields to all deleted datasets

This should only find datasets which don't have the toBeDeleted field
already.