fix crash on scanning
Merge branch 'titan' of github.com:BitShares/bitshares_toolkit into titan