Make sure that shardInfo is never null
Fixed logging