fixed get_parents of Bayesian Model