Fix migration policies based on last_archive.