MAINT: sampling feasible histories has been extended to more general node state restrictions