Fix using ground truth in silhouette score in document clustering. Closes #3806.