Fixed assignment of negative amounts. #56 in bitbucket.
Merge pull request #222 from stan-rnao/negative-grants

Fixed assignment of negative amounts. #56 in bitbucket.