Fixed Put bug caused by MAXUINT4 being converted to -1 as integer