Added a validation for min amount

Closes #1486