ManyToOne: Fixed setDependOn function.