Invalidated negative quantities.
Merge branch 'master' of github.com:ubiqua/proto