update validation method to account for an empty amount

* Update validation method to cast amount to integer to account
  for a value of nil

Closes #15