Fix crash; issue #959
Merge github.com:vikramrajkumar/bitshares into develop