Fix Item's random serial number generation