Bug 830272 - Adding constrains to avoid negative or zero values in balance threshold