Improve Coin range check to cope with Long.MIN_VALUE correctly