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

Fixed assignment of negative amounts. #56 in bitbucket.