Check if new main nodes are linked to previous nodes, and return only then; support empty exepected; fix PRCEDE to PRECEDE