Fixing a typo, which caused erroneous handling of state variables that nobody caught in ten years or more.