Fix ZeroDivisionError in variation calculation for DuplicateAnalysis.