Add failsafe should max decval be negative.