Fix an error in the logical steps.