Fix to avoid divide by zero problem in MedianHitG and MedianHitL for track

No match.