Pop key instead of deleting

- I can't run migrations without this patch. It could be something on
my end though.