Fix explosion due to acts_as_dag update.