Fixed bugs in approvals, fixed #115.
Merge pull request #1 from xanthipe/master

Fixed bugs in approvals, fixed #115.