Fix phrase clustering for shardlevel <= 3.