Only run migration job if documents were migrated.