If you set the value of undosteps in userprefs to zero, and tried to save defaults, the value would get reset to 32. Caused by out-of-place version patch.