One character typo, entire code path broken...
The state preserving code had a single type, resulting in the wrong value
getting saved and restored. This made the previous commit ineffective, and
explains entirely why it didn't resolve the problem in the field.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>