Fix last time expected migration

This was broken, the bucket variable is a dictionary so would never
match the dead buckets.