Added a validation for min amount