Bug fix in trainSimilarityGraph speaker