Fixes race condition that happens only with zero shards
Merge pull request #136 from mezis/fix/shards-reading-race-condition

Fix race condition that happens with zero shards