Fix offset bug in name hasher.