Bug fix when using BigDecimal pertaining to precison