Add sequential planner
Cope with relations with no terms