Fixed the migration to release restrictions