fix NPE in MultiMap when the service is shutdown before the migration is processed.
Merge pull request #1968 from eminn/fix/NPEinMultiMap

fix NPE in MultiMap when the service is shutdown before the migration is...