Fix read ordering bug between buckets pointer and counter