Fixed validation error coming from 'amount' field when too many characters were entered