This is needed to patch up invalid states produced by world converters.
This is needed to patch up invalid states produced by world converters.