fixed a regression in shardcache_get_offset() introduced by recent changes