fix indent
Merge branch 'ahmedmaster'
check shareid before shareid[0]
Merge pull request #210 from penner42/Issue-135

Issue 135
Merge pull request #289 from Crypto-Expert/issue-135

DB Changes