Added duration check to FindSimilar.