Fixing rollback of elasticsearch databases

Migration ids are generally strings but we get keywordized-keys in maps we read from ES. This change ensures we remove the migration id from the migrations map.