BUG: stats: Fix edge-case handling in a few distributions.