Fixed #22853: Swapped models are now ignored for migration operations.