Fix lang detection in clustering