Bugfix: Exception in RateEstimator when there are no samples (sample_size==0)