MinimumSimilarity should be a double #411