Fixed a bug with migrate-to-beta3.