[GEOT-4656] AverageVisitor and MedianVisitor fail on null value
Merge pull request #338 from sgraca/GEOT-4656

[GEOT-4656] AverageVisitor and MedianVisitor fail on null value