Use the array keys for calculating the missing migrations.