Fix a terraformer crash.