Bugfix: handle zeros in computing the geometric mean for relative
comparisons