Perhaps just a coding bug. If it happened around 32000 then i think it was just a bad declaration of the data type.
Short integer: 32767
Unsigned short integer: 65535
It's what I remember when used to do some coding. Easy to fix but only with an update.