Fixed an AttributeError in getConditionalDistributions.