Fix last time expected migration

This was broken, the bucket variable is a dictionary so would never
match the dead buckets.
Merge pull request #241 from alphagov/fix-last-time-expected-migration

Fix last time expected migration