Fixing false shares result in API call

Fixes #262
Merge pull request #266 from TheSerapher/issue-262

Fixing false shares result in API call