Added support for a constant distribution that only has one item.