Fixed a bug where invalids states would be valid after reloading a saved game.