Fixing up a problem with hash map expand.