Fix a map crash.