fixed bug where casting int values stored as strings to real ints caused data corruption on systems that don't support large int values (e.g. if storing > 32 bit int on 32 bit system or > 64 bit on 64 bit system as string in DB to preserve large numbers)

now int-like strings will only be cast to int if they are positively under 32 bit