#5895 - Fixed potential signed integer overflow in Checkother:getvalue. Added regression test.