fix recursion bug
Merge branch 'titan' of https://github.com/BitShares/bitshares_toolkit into titan