[ Fixes #62363776 ] Added a check to be sure that the input value is
greater than 0.